import { axios } from "@/utils/request";

const api = {
    pageList: "/expenses/property/pageList",                            //分页查询
    batchRenewalByCompany: "/expenses/property/batchRenewalByCompany",  //批量续费(租户)"
    changeRenewalType: "/expenses/property/changeRenewalType",          //更改续费方式"
};


/**
 * 分页查询
 */
export function pageList(data) {
    return axios({
      url: api.pageList,
      method: "post",
      data: data
    });
}

/**
 * 批量续费(租户)
 */
 export function batchRenewalByCompany(data) {
    return axios({
      url: api.batchRenewalByCompany,
      method: "post",
      data: data
    });
}

/**
 * 更改续费方式
 */
 export function changeRenewalType(data) {
    return axios({
      url: api.changeRenewalType,
      method: "post",
      data: data
    });
}



